* xselect.c: Relax test for outgoing X longs (Bug#9498).
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 16 Sep 2011 17:49:29 +0000 (10:49 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 16 Sep 2011 17:49:29 +0000 (10:49 -0700)
commitc19699e77b6638bce1493b0e6a2f842976544f6c
tree9e98762b61c196e15c539c4170833064c48b698d
parentc9c43a368fef3f6cce77806a1d22d36a45e20d46
* xselect.c: Relax test for outgoing X longs (Bug#9498).

(cons_to_x_long): New function.
(lisp_data_to_selection_data): Use it.  Correct the test for
short-versus-long data; it was negated.  Break out of vector
loop, for efficiency, when a long datum is discovered.
src/ChangeLog
src/xselect.c